package com.usian.fallback;

import com.usian.feign.UserFeign;
import com.usian.pojo.Emp;
import com.usian.pojo.User;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class UserServiceFallback implements UserFeign {
    @Override
    public User getUser1() {

        return new User(1,"我是托底数据Fallback",0);
    }

    @Override
    public List<Emp> getempbyename(String ename) {
        return null;
    }

    @Override
    public User getUser(Integer id) {
        return null;
    }

    @Override
    public List<Emp> findall() {
        return null;
    }

    @Override
    public Emp getempbyeid(Integer id) {
        return null;
    }

    @Override
    public int[] findnums(int[] nums) {
        return new int[0];
    }

    @Override
    public User finduser(User user) {
        return null;
    }

    @Override
    public Integer findid(int id) {
        return null;
    }
}
